#ifndef MIBS_ENCRYPTION_H_H
#define MIBS_ENCRYTPION_H_H

#include "basic_op.h"
#include "common.h"
#include "set_error_insert.h"
#include "error_insert_help.h"

#include <stdlib.h>

void encryption_oneround( nibble round_key[][8] , const int round , nibble instate[] , const int statesize ) ;
void mibs( nibble plaintext[] , word initialkey[] , const int keysie , const int n , nibble ciphertext[] ) ;
void xor_error_encryption( error_struct* error_data , nibble plaintext[] , word initialkey[] , const int keysie , const int n , nibble ciphertext[] ) ;

#endif